<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Strict//EN' 'http://www.w3.org/TR/html4/strict.dtd'>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<title>在此插入标题</title>
<script src="jquery.js"></script>
</head>
<body>
  <input type="button" value="获取信息">
  <div id="info"></div>
  <script>
  $('input').click(function(){
	  $.ajax({
		  url:'demo21.php?'+Math.random(),
		  type:'get',
		  success:function(data){
			  //alert(data);
			  $('#info').html(data);
		  }
		  
	  });
  });
  </script>
</body>
</html>